/* eslint-disable @typescript-eslint/no-var-requires import/no-extraneous-dependencies */
const Chai = require('chai');
const ChaiAsPromised = require('chai-as-promised');
const SinonChai = require('sinon-chai');

Chai.should();
Chai.use(SinonChai);
Chai.use(ChaiAsPromised);

process.on('unhandledRejection', (reason, p) => {
    console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
    // application specific logging, throwing an error, or other logic here
});
